Skip to content

Comments

Posting as Anonymous#13

Merged
mfahad2 merged 21 commits intomainfrom
Anon
Oct 10, 2025
Merged

Posting as Anonymous#13
mfahad2 merged 21 commits intomainfrom
Anon

Conversation

@rkkhalif
Copy link

@rkkhalif rkkhalif commented Sep 28, 2025

Through the creation of our own plugin, we made an anonymous button visible. We made it so that once the user clicks the floating button in the bottom corner, it will turn green if they are anonymous. In this case, if they go to make a post. Their username and profile picture will be hidden with the name 'Anonymous'. They will not be visible to users.

Changes made:
Added plugin folder: nodebb-plugin-anonymous-button
Inside plugin folder: we have a public/js/anonymous-button.js, aswell as a plugin.json and package.json
Edited the src/posts/create.js file to add const isAnonymous.

@rkkhalif
Copy link
Author

rkkhalif commented Oct 9, 2025

Resolves #13

@rkkhalif rkkhalif changed the title Plugin for AnonymousButton created Posting as Anonymous Oct 9, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 18373569679

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 78.537%

Totals Coverage Status
Change from base Build 17988268598: 0.002%
Covered Lines: 24706
Relevant Lines: 29619

💛 - Coveralls

@mfahad2 mfahad2 merged commit c31e2ce into main Oct 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants